package com.dap.cms.governance.service;

import com.dap.cms.base.IBaseService;
import com.dap.cms.governance.po.CmsMessagePo;

/**
 * @description: 类描述
 * @author: tiger
 * @createTime:2018/6/12
 * @update:修改内容
 * @author: tiger
 * @updateTime:2018/6/12
 */
public interface CmsMessageService extends IBaseService<CmsMessagePo> {
    void addMsg(Integer toUserId, Integer msgType, String title, String msg, String otherMsg);

    void changeFlag(String ids);

    void deleteMsg(String ids);

    /**
     * 批量发送消息
     * @param projectId
     * @param groupId
     * @param type
     * @param consumerGroup
     * @param title
     * @param msg
     * @param otherMsg
     */
    void batchSendMsg(Integer projectId, Integer groupId, Integer type, String consumerGroup, String
            title, String msg, String otherMsg);
}

